package com.hzw.saas.common.flow.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzw.saas.common.flow.pojo.data.UserInfo;
import com.hzw.saas.common.flow.pojo.model.FlowProcessPermission;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author sonam
 * @since 2021-08-04
 */
public interface IFlowProcessPermissionService extends IService<FlowProcessPermission> {

    boolean checkFlowProcess(String flowProcessId, String flowSubmitUserId, UserInfo userInfo);

    List<String> filterFlowProcesses(List<String> flowProcessIds, String flowSubmitUserId, UserInfo userInfo);

}
